package com.one.blocks.rbac.mapper;

import com.one.blocks.mvc.mapper.BaseMapper;
import com.one.blocks.rbac.domain.SysRoleMenu;
import org.springframework.stereotype.Repository;

/**
 * @author <a href="mailto:idler41@163.con">idler41</a> created on 2023-10-19 10:45:09
 */
@Repository
public interface SysRoleMenuMapper extends BaseMapper<SysRoleMenu> {

    int deleteByRoleId(Integer roleId);

    Integer selectOneByMenuIds(Integer[] menuIds);

    Integer selectOneByRoleIds(Integer[] roleIds);
}